package cn.xh.org.mapper;

import cn.xh.basic.mapper.BaseMapper;
import cn.xh.org.domain.Department;
import cn.xh.org.domain.Employee;
import cn.xh.org.query.DepartmentQuery;

import java.util.List;

/**
 * 写数据层的操作
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    /**
     * 查询一级和二级树
     * @return
     */
    List<Department> loadOneAndTwoLevelTree();
}
